package com.zhangtai.modules.dto;

import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;


@Data
public class ScoreUpdateDetailDto implements Serializable {
	private static final long serialVersionUID = 1L;

				@TableId
		@JsonDeserialize(using = LongJsonDeserializer.class)
		@JsonSerialize(using = LongJsonSerializer.class)
			private Long id;

			/**
		 * 被评分人员工id
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long oid;
			/**
		 * 被评分人员工姓名
		 */
			private String name;
			/**
		 * 被评分人公司id
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long orgId;
			private String orgName;
			/**
		 * 被评分人部门id
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long unitId;
			private String unitName;
			/**
		 * 被评分人职位id
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long jobId;
			private String jobName;
			/**
		 * 评分类型   方案id
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long programId;
			/**
		 * 是否自评
		 */
			private Integer isAppraisal;


	@ApiModelProperty(value = "上级评分人oid集合", required = false)
	private JSONArray superiorList;

	@ApiModelProperty(value = "上级评分人oid集合", required = false)
	private JSONArray sameLevelList;

	@ApiModelProperty(value = "上级评分人oid集合", required = false)
	private JSONArray subordinateList;
	
}
